package com.kaifa.org.tp02.example02;

public class User2Factory {
    /**
     * 静态工厂实例化
     * @return User2
     */
    public static User2 createUser2Factory(int id,String userName,String userPwd){
        return new User2(id,userName,userPwd);
    }
    public static User2 createUser2Factory2(){
        return new User2();
    }
}
